import math
#0.5就近偶数
print(round(2.5))
print(round(3.5))
print(round(-3.5))
print(round(-2.50001))
#整除
print(12//5)
print(12%8)
for i in range(1,10):
    s=""
    for j in range(i,10):
        s+=(f"  {i}+{j}={i+j:<2}")
    print(f"{s:>78}")
#猴子吃桃子问题
x=1
for i in range(9):
    x=(x+1)*2
print(x)
print(x**(1/9))
print(1+True+False)
#bytesarray
print('高凯'.encode(encoding='utf-8'))
print(bytearray("高凯",encoding="utf-8")[1])